package com.ics.atable.chat;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.ConfigurationPropertiesScan;

import java.util.TimeZone;


@SpringBootApplication
@ConfigurationPropertiesScan
@MapperScan("com.ics.atable.chat.mapper")
public class AtableChatApplication {

	static {
		// 设置JVM默认时区与数据库一致
		TimeZone.setDefault(TimeZone.getTimeZone("Asia/Shanghai"));
	}

	public static void main(String[] args) {
		SpringApplication.run(AtableChatApplication.class, args);
	}

}
